< previous page page_624 next page >

Page 624
0624-01.jpg
Figure 28.11
Here, you can see the DataGrid control before and after adding a new split.
Working with Split Properties
Every time you add a split to a DataGrid, it is also added to the Split drop-down list on the Property Pages, as shown in Figure 28.12.
0624-02.jpg
Figure 28.12
Using the Splits tab of the Property Pages, you
can set properties for a specific section of the DataGrid.
As you create new splits, they are named consecutively: Split0, Split1, Split2, and so on. To specify settings for a split, select it from the Split drop-down list, and set the appropriate properties. Several of these properties are described here:
LockedWhen this property is selected, the user cannot enter text.
AllowFocusWhen this property is set to False, the selected split cannot receive the program focus.
AllowSizingThis property allows the user to resize the width of a split during program execution.
AllowRowSizingThis property can prevent the user from resizing rows at runtime.
RecordSelectorsThis property turns record selectors on or off for the specified split. If you also set the RecordSelectors property of the DataGrid, the most recent setting takes effect.
Customizing the Grid's Layout
Although having the grid configure itself automatically is a nice feature, most times you will want to change the default configuration. For example, you might want to set up two splits with

 
< previous page page_624 next page >